const group = {
  state: {
    dateArr: [],
    groupNoticeList: null,
    groupList: { // 出团列表
      query: {
        pageNo: 1,
        listQuery: null
      },
      isBack: false
    },
    sellOrder: {
      listQuery: null,
      pageNo: 1,
      pageSize: 10
    },
    sheetList: {
      listQuery: null,
      pageNo: 1,
      pageSize: 10
    },
    unconfirmedList: {
      listQuery: null,
      pageNo: 1,
      pageSize: 10
    },
    reconfirmedList: {
      listQuery: null,
      pageNo: 1,
      pageSize: 10
    },
    processedList: {
      listQuery: null,
      pageNo: 1,
      pageSize: 10
    },
    pickUpMessage: {
      listQuery: null
    }
  },
  mutations: {
    setGroupList(state, query) {
      state.groupList[query.attribute] = query.data
    },
    changeQuery(state, query) {
      state.dateArr = query
    },
    changeGroupPage(state, obj) {
      state.groupNoticeList = obj
    },
    setSellOrder(state, obj) {
      state.sellOrder = obj
    },
    setUnconfirmed(state, obj) {
      state.unconfirmedList = obj
    },
    setReconfirmed(state, obj) {
      state.reconfirmedList = obj
    },
    setProcessed(state, obj) {
      state.processedList = obj
    },
    setSheetList(state, obj) {
      state.sheetList = obj
    },
    setPickUpMessage(state, obj) {
      state.pickUpMessage = obj
    }
  }
}
export default {
  state: group.state,
  mutations: group.mutations
}
